package com.yegs.jltqc.service;

import com.yegs.jltqc.TO.AgePageQuery;
import com.yegs.jltqc.TO.NamePageQuery;
import com.yegs.jltqc.VO.RpAge;
import com.yegs.jltqc.VO.RpStock;
import org.springframework.data.domain.Page;

import java.util.List;

public interface RpAgeService {

    RpAge save(RpAge rpAge);

    List<RpAge> list();

    Long getNext(Long id);

    Long getLast(Long id);

    RpAge get(Long id);

    void del(Long id);

    Page<RpAge> query(AgePageQuery query);
}
